package com.wysql.ascost.model.auto;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class TsysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     **/
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 用户账号
     **/
    @ApiModelProperty(value = "用户账号")
    private String username;

    /**
     * 用户密码
     **/
    @ApiModelProperty(value = "用户密码")
    private String password;

    /**
     * 用户密码
     **/
    @ApiModelProperty(value = "用户密码")
    private String password2;

    /**
     * 昵称
     **/
    @ApiModelProperty(value = "昵称")
    private String nickname;

    /**
     * 部门id
     **/
    @ApiModelProperty(value = "部门id")
    private String depId;

    /**
     * 岗位id
     **/
    @ApiModelProperty(value = "岗位id")
    private String posId;

    /**
     * 分管领导名称（用于基础管理提升）
     **/
    @ApiModelProperty(value = "fgldName")
    private String fgldName;

    /**
     * 部门名称
     **/
    private String depName;
    /**
     * 岗位名称
     **/
    private String posName;

    /**
     * 角色代码
     **/
    private String roleId;

    public TsysUser(String id, String username, String password, String password2, String nickname, String depId, String posId) {
        super();
        this.id = id;
        this.username = username;
        this.password = password;
        this.password2 = password2;
        this.nickname = nickname;
        this.depId = depId;
        this.posId = posId;
    }


    public TsysUser() {
        super();
    }

    public String getFgldName() {
        return fgldName;
    }

    public void setFgldName(String fgldName) {
        this.fgldName = fgldName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getDepId() {
        return depId;
    }

    public void setDepId(String depId) {
        this.depId = depId;
    }

    public String getPosId() {
        return posId;
    }

    public void setPosId(String posId) {
        this.posId = posId;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public String getPosName() {
        return posName;
    }

    public void setPosName(String posName) {
        this.posName = posName;
    }

    public String getPassword2() {
        return password2;
    }

    public void setPassword2(String password2) {
        this.password2 = password2;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    @Override
    public String

    toString() {
        return "TsysUser{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", password2='" + password2 + '\'' +
                ", nickname='" + nickname + '\'' +
                ", depId='" + depId + '\'' +
                ", posId='" + posId + '\'' +
                ", depName='" + depName + '\'' +
                ", posName='" + posName + '\'' +
                ", roleId='" + roleId + '\'' +
                '}';
    }
}